package entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.sql.Date;

/**
 * @program: personnel_management_system
 * @description: 奖惩
 * @author: Mr.Sun
 * @create: 2020-05-25 14:45
 **/
@Setter
@Getter
@ToString
public class Rewards {
    private Integer r_id;
    private String type;
    private Date date;
    private Integer emp_id;

    public Rewards() {
    }

    public Rewards( String type, Date date, Integer emp_id) {

        this.type = type;
        this.date = date;
        this.emp_id = emp_id;
    }

    public Rewards(Integer r_id, String type, Date date, Integer emp_id) {
        this.r_id = r_id;
        this.type = type;
        this.date = date;
        this.emp_id = emp_id;
    }
}
